//
//  TestMRCViewController.m
//  RBIOSBase
//
//  Created by ren on 16/11/2017.
//  Copyright © 2017 bryan. All rights reserved.
//

#import "TestMRCViewController.h"

@interface TestMRCViewController ()

@end

@implementation TestMRCViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
	UIView *view = [[UIView alloc] initWithFrame:CGRectMake(40, 120, 100, 100)];
	[view setBackgroundColor:[UIColor redColor]];
	[self.view addSubview:view];
	[view release];
	NSLog(@"%ld",CFGetRetainCount(view));
	
	id obj = [NSMutableArray array];
	[obj retain];
	[obj release];
	NSLog(@"%ld",CFGetRetainCount(obj));
	
	id str = [[NSString alloc] init];
	NSLog(@"%ld",CFGetRetainCount(str));
	
	
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)dealloc
{
	[super dealloc];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
